package com.liukai.exam.service;

import com.liukai.exam.pojo.BigQuestion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liukai.exam.pojo.exam.BigQuestionManage;

import java.util.List;

/**
 * <p>
 * 每个试卷的大题有哪些，存放第几大题的题目类型 服务类
 * </p>
 *
 * @author liu kai
 * @since 2021-02-01
 */
public interface IBigQuestionService extends IService<BigQuestion> {

    /**
     * 根据examId新增大题类型
     * @param bigQuestionManage
     * @return
     */
    int addBigQuestion(BigQuestionManage bigQuestionManage);

    /**
     * 根据examId查找试卷大题信息
     *
     * @param examId
     * @return
     */
    List<BigQuestion> findBigQueById(Long examId);

}
